package database.mybatis.entity;

import lombok.Data;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

@Alias("GeneratedStr")
@Data
@ToString
public class GeneratedStr {
    private String id;

    private String name;

    private Integer age;

    public GeneratedStr(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public GeneratedStr(String id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public GeneratedStr() {
    }
}
